<ion-header>
<div class="uh bor_b bc-head" data-control="HEADER" id="Header">
  <div class="ub">
    <div class="nav-btn" id="nav-left" (click)="navCtrl.pop()">
      <div class="ub-img1 back_btn_img"></div>
    </div>
    <h1 class="ut ub-f1 ulev-3 ut-s tx-c color_black" tabindex="0">编辑挑战</h1>
    <div class="nav-btn color_red " id="nav-right">
      发布
    </div>
  </div>
</div>

</ion-header>


<ion-content >
<div class=" " data-control="CONTENT" id="ScrollContent_dMIpN4">
  <div class="scrollbox" style="padding-top: 2.63em;">
    <div class="ub   ub-ver " id="dt_list" style="overflow: hidden;">
      <div class="ub ub-pc ub-ac  bor_b bc-head" style="height: 4.6em;">
        <div class="ub-img" style="background-image: url(../css/img/jiangbei2.png);width: 2.5em;height: 2.5em;"></div>
        <div class="ub ub-ac umar-l ub-ver">
          <h3> 获胜率使我们说到做到的终极信用</h3>
        </div>
      </div>
      <div class="ub ub-ac height6 pad_left7 pad_right7 bor_b bc-head">
        <div class="ub ub-f1 fontsize9">
          挑战主题
        </div>
        <div class="uinput ub ub-f1">
          <input id="tittle" onkeyup="this.value=this.value.replace(/\uD83C[\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F]/g,'')" class="tx-r fontcolor999 ub-f1"
            placeholder="填写挑战主题" type="text">
        </div>
      </div>
      <div class="ub ub-ac height6 pad_left7 pad_right7 bor_b bc-head">
        <div class="ub ub-f1 fontsize9">
          挑战分类
        </div>
        <div id="Classify">
          未设置
        </div>
        <!-- <div class="ub-img right_img" ></div> -->
      </div>
      <div class="ub ub-ac height6 pad_left7 pad_right7 bor_b bc-head">
        <div class="ub ub-f1 fontsize9">
          挑战模式
        </div>
        <div id="pattern" class="color_black">
          未设置
        </div>
      </div>
      <div class="ub ub-ac height6 pad_left7 pad_right7 bor_b bc-head hide" id="hideorshow1">
        <div class="ub ub-f1 fontsize9">
          挑战数值
        </div>
        <div class="uinput ub ub-f1">
          <input id="count" class="tx-r" placeholder="请输入数值" type="number" class="ub-f1">
        </div>
      </div>
      <div class="ub ub-ac height6 pad_left7 pad_right7 bor_b bc-head hide" id="hideorshow2">
        <div class="ub ub-f1 fontsize9">
          挑战周数
        </div>
        <div class="uinput ub ub-f1">
          <input id="week" class="tx-r" placeholder="请输入周数" type="number" class="ub-f1" onblur="endTime()">
        </div>
      </div>

      <div class="ub ub-ac height6 pad_left7 pad_right7 bor_b bc-head hide" (click)="tianshu()" id="hideorshow3">
        <div class="ub ub-f1 fontsize9">
          每周上传天数
        </div>
        <div class="tx-r ub ub-pe " id="WeekRate">

        </div>
        <div class="ub-img right_img"></div>
      </div>
      <div class="ub ub-ac height6 pad_left7 pad_right7 bor_b bc-head">
        <div class="ub ub-f1 fontsize9">
          战豆数量
        </div>
        <div id="Integral" class="">

        </div>
      </div>
      <div class="ub ub-ac  pad_left7 pad_right7 umh5">
        <div class="ub ub-f1 fontsize9">
          挑战时间
        </div>

      </div>
      <div class="ub ub-ac height6 pad_left7 pad_right7 bor_b bc-head" (click)="startTime()">
        <div class="ub ub-f1">
          开始时间
        </div>
        <div id="startTime" class="fontcolor999">
          未设置
        </div>
        <div class="ub-img right_img"></div>
      </div>
      <div class="ub ub-ac height6 pad_left7 pad_right7 bor_b bc-head hide" id="endtimea1">
        <div class="ub ub-f1">
          结束时间
        </div>
        <div id="endTime" class="fontcolor999">
          未设置
        </div>
        <div class="ub-img right_img_wh"></div>
      </div>
      <div class="ub ub-ac height6 pad_left7 pad_right7 bor_b bc-head hide" id="endtimea2" (click)="overtime2()">
        <div class="ub ub-f1">
          结束时间
        </div>
        <div id="endTime1" class="fontcolor999">
          未设置
        </div>
        <div class="ub-img right_img"></div>
      </div>
      <div class="ub ub-ac  pad_left7 pad_right7 umh5">
        <div class="ub ub-f1 fontsize9">
          挑战内容
        </div>

      </div>
      <div class="ub ub-ver pad_left7 pad_right7 bor_b bc-head" style="padding-bottom: 0.7em;">
        <textarea name="" id="Describe" class="wenben bg-ff " rows="" cols="" placeholder="填写挑战主题"></textarea>
        <div class="ub">
          <div id="imglist" class="ub showpic">

          </div>
          <div class="ub ub-ver ub-ac ub-pc">
            <img (click)="uploadimg()" id="addpic" style="width:3.5em;height: 3.5em; " class="openpic addpic" src="../css/img/uploadPic.png"
            />
            <div class="umar-t">
              上传图片
            </div>
            <div class="fontcolor999 fontsize8">
              （最多一张）
            </div>
          </div>
        </div>
      </div>
     
      <div class="ub ub-ac height6 pad_left7 pad_right7 bor_b bc-head mar_t7">
        <div class="ub ub-f1 fontsize9">
          我的奖赏与惩罚
        </div>
        <div class="fontcolor999 umar-r">
          公开
        </div>
        <div id="Isreword" class="switch uba bc-border switch-mini" data-checked="false">
          <div class="switch-btn sc-bg-active "></div>
        </div>

      </div>
      <div class="ub ub-ac  pad_left7 pad_right7 umh5">
        <div class="ub ub-f1 fontsize9">
          奖励越刺激，PK越带劲
        </div>
      </div>
      <div class="ub ub-ver pad_left7 pad_right7 bor_b bc-head">
        <textarea name="" id="rewardMessage" class="wenben bg-ff " rows="" cols="" placeholder="填写达成目标对自己的奖励"></textarea>
      </div>
      <div class="ub ub-ver pad_left7 pad_right7 bor_b bc-head">
        <textarea name="" id="PunishmentMessage" class="wenben bg-ff " rows="" cols="" placeholder="填写未达成目标对自己的惩罚"></textarea>
      </div>

    </div>
  </div>

</div>
</ion-content>
